package ${package.ServiceImpl};

import ${package.Entity}.${entity};
import ${package.Mapper}.${table.mapperName};
import ${package.Service}.${table.serviceName};
import ${superServiceImplClassPackage};
import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;
<#if entityLombokModel>
import lombok.extern.slf4j.Slf4j;
</#if>

/**
 * <p>
 * (${table.name})${table.comment!} 服务实现类,
 * 列名:${table.fieldNames}
 * </p>
 *
 * @author ${author}
 * @since ${date}
 */
@Service
<#if kotlin>
open class ${table.serviceImplName} : ${superServiceImplClass}<${table.mapperName}, ${entity}>(), ${table.serviceName} {

}
<#else>
<#if entityLombokModel>
@Slf4j
</#if>
public class ${table.serviceImplName} extends ${superServiceImplClass}<${table.mapperName}, ${entity}> implements ${table.serviceName} {

   @Autowired
   private ${table.mapperName} ${table.mapperName?uncap_first};

}
</#if>
